home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -screenplay- / shareware / freeciv / freeciv.start < prev    next >
Text File  |  2000-02-29  |  578b  |  20 lines

  1. echo "Starting now the server"
  2. echo "But select a saved game first, or press cancel for a new game"
  3.  
  4. unset savegame
  5. set savegame `requestfile NOICONS TITLE="Please select a saved game" POSITIVE="Load this game" NEGATIVE="Start new Game" PATTERN="#?.sav"`
  6.  
  7. echo "wait 3" >T:temp_freeciv$process
  8. echo "echo Starting now the client" >>T:temp_freeciv$process
  9. echo "civclient --tiles default" >>T:temp_freeciv$process
  10. echo "endcli" >>T:temp_freeciv$process
  11. newshell FROM T:temp_freeciv$process
  12.  
  13. if exists "$savegame"
  14.   civserver -f "$savegame"
  15. else
  16.   civserver
  17. endif
  18.  
  19. unset savegame
  20.